package com.fqgj.sentry.policy.dao;

import com.fqgj.common.base.BaseMapper;
import com.fqgj.sentry.policy.entity.PcFunctionContextEntity;

/**
 * User: kennykong
 * Date: 2017-12-05
 * Time: 16:05:36.747
 */

public interface PcFunctionContextDao extends BaseMapper<PcFunctionContextEntity> {


    /**
     * 查询
     *
     * @param functionId
     * @return
     */
    PcFunctionContextEntity findByFunctionId(Long functionId);

    /**
     * 删除
     *
     * @param functionId
     * @return
     */
    Boolean deleteByFunctionId(Long functionId);
}